package net.csdn.business.common.domain.request.oauth;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName OAuthTokenValidDTO
 * @Description TODO
 * @Author zhangyl
 * @Date 2023/5/12 14:50
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OAuthTokenValidDTO {

    @JsonProperty("access_token")
    private String accessToken;

    private OAuthTokenPermissionDTO permission;

    @JsonProperty("repo_id")
    private Long repoId;

    @JsonProperty("repo_path")
    private String repoPath;
}